/*
 * $Id: Exception.h 163 2010-10-04 15:17:23Z volok-aleksej@yandex.ru $
 *
 * Copyright 2007 by Volokitin Alexey
 * All rights reserved
 *
 */
#ifndef __EXCEPTION_H__
#define __EXCEPTION_H__

class CBaseError
{
protected:
	std::tstring m_strFileName;
	std::tstring m_strError;
	std::tstring m_strFunction;
	int m_nLine;
public:
	CBaseError(const std::tstring& strFileName, const std::tstring& strFunction, int nLine, const std::tstring& strError);
	CBaseError(const std::tstring& strFileName, const std::tstring& strFunction, int nLine, int param1, int param2);
	std::tstring GetError();
};

#endif /* __EXCEPTION_H__ */
